package com.question.service.impl;

import com.question.entity.Answers;
import com.question.mapper.AnswersMapper;
import com.question.service.AnswersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author cd
 * @version 1.0
 * @date 2021/10/7 18:06
 */
@Service
public class AnswersServiceImpl implements AnswersService {
    @Autowired
    private AnswersMapper answersMapper;
    @Override
    public List<Answers> findAll() {
        return answersMapper.selectByExample(null);
    }
}
